package com.lhd.action.chain;

/**
 * @Author: liuhd
 * @Date: 2024/12/17 19:53
 * @Description:
 */
public class Client {
    public static void main(String[] args) {
        ConcreteHandlerA handlerA = new ConcreteHandlerA(new ConcreteHandlerB(null));
        handlerA.handleRequest(1);
        handlerA.handleRequest(2);
        handlerA.handleRequest(3);

    }
}
